home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
The World of Computer Software.iso
/
pdraw.zip
/
README
< prev
Wrap
Text File
|
1992-07-23
|
2KB
|
53 lines
23-JUL-92
pdraw is an example application using the PEX-SI PHIGS library.
Also available: (send me email for now)
pexdraw - this is pdraw ported to MIT's PEXlib
plflag - PEXlib flag, good demonstration of immediate mode.
This distribution consists of:
-rw-rw---- 1 jch vm 2069 Jul 23 15:24 README
-rw-r----- 1 jch vm 89404 Jul 23 15:23 pdraw.c
-rw-r----- 1 jch vm 79145 Jul 23 13:35 pdraw.uil
-r--r----- 1 jch vm 1743 May 7 14:08 Imakefile
The documentation is more or less non-extistent
To walk through the features of pdraw.
- use button 1 to sketch in one line. It is selected
- sketch in a second line, the first is deselected
- Pick up the Pointer tool, select the first line
- Use the button 2 to translate
- Use the button 3 to stretch
- Pull down the Edit Menu and delete it
- Insert a TriStrip - use the solid item in the Options (Misc) menu
- select the Set view item in the Options (Misc) menu.
set various view paramters and press apply.
- use the spin tool (two circles)
- Start spinning slowly (this will spin the struct of the selected object, or
if not is selected the structure being created)
- Stop spinning slowly, by hitting the same menu button
- Save the archive, save under file, Use .phar as suffix
- Delete All
- Read back the archive.
- Delete All
- use the sphere item in the Options menu to insert a sphere.
- pick the blue line
- select the surfaceAttrs menu, this bring up a form
- set various attributes
pdraw expects structures to be in a certan form - see InitStrux.
I'm almost ready to create a NO_MOTIF version of pdraw. If that is a
stumbling block, send mail. (pexdraw can be built -DNO_MOTIF )
Let me know if you got it built and found it useful. I expect to have a new
version right before SIGGRAPH.
-Jan "YON" Hardenbergh jch@oki.com (508)-460-8655
Oki Advanced Products Division, 100 Nickerson Road, Marlborough, MA 01752
======== PEX = PHIGS + Immediate Mode - Input - Archiving - POLICY =======